package tuxing;

public class Test {
    public static void main(String[] args) {

        Rectangle rectangle = new Rectangle(5,6);
        rectangle.huiTu();
        double v = rectangle.calculateArea();
        System.out.println("矩形的面积："+v);
        System.out.println("-------------------------------");
        Rotundity rotundity = new Rotundity(9);
        rotundity.huiTu();
        double v1 = rotundity.calculateArea();
        System.out.println("圆形的面积"+v1);

    }
}
